# -*- coding: UTF-8 -*-

import datetime

# # 是否在活动开始时间
# def is_start_time():
#     current_time = datetime.datetime.now()
#     start_time = datetime.datetime(2023, 7, 14, 10, 0, 0)
#     end_time = datetime.datetime(2023, 7, 14, 22, 0, 0)
#     if start_time <= current_time <= end_time:
#         return True
#     else:
#         return False


process_activity = {
    'activity_id': 9,
    'activity_name': '春节红包',
    'start_time': '2023-01-24 10:00:00',
    'end_time': '2023-01-24 22:00:00',
}
is_go_activity = True
change_time = datetime.datetime.strptime('2023-01-31 14:00:00', '%Y-%m-%d %H:%M:%S')

# 题死数据
# 奖品读redis

# 定时任务，统计不同时段在线人数****
# 定时任务，同步库****

# 8/9号库清空
# 4号奖品
# 5和17号库查

# 中奖概率
# 架构吗
# 启动项目
